module.exports = app => {
  const mongoose = app.mongoose
  const Schema = mongoose.Schema
  const User = new Schema({
    user_name: String,
    user_password: String
  })
  return mongoose.model('User', User)
}